package com.xbongbong.admin.model;

import com.xbongbong.admin.domain.entity.MirrorFormExplainEntity;
import com.xbongbong.paas.toolbox.wrap.IModel;

import java.util.List;
import java.util.Map;

/**
 * 镜像表单字段配置
 * @author xingxing.xiao
 * @date 2020/01/09 16:26
 */
public interface MirrorFormExplainModel extends IModel<MirrorFormExplainEntity> {

    /**
     * 查询列表
     * @param param
     * @return
     */
    @Override
    List<MirrorFormExplainEntity> findEntitys(Map<String, Object> param);

    /**
     * 批量插入
     * @param list
     * @return
     */
    List<MirrorFormExplainEntity> insertBatch(List<MirrorFormExplainEntity> list);

    /**
     * 获取表单解释
     * @param mirrorFormId 表单id
     * @return
     */
    MirrorFormExplainEntity getByMirrorFormId(Long mirrorFormId);
}
